package com.cloudsense.ftestm.service.impl;


import com.cloudsense.ftestm.mapper.UserMapper;
import com.cloudsense.ftestm.model.User;
import com.cloudsense.ftestm.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public int addUser(User user) {
        userMapper.insertSelective(user);
        return 0;
    }
}
